package com.steel.yfmall.cloud.assistant.controller;

import com.steel.yfmall.cloud.assistant.api.stock.ZgSendCompanyInfoAPI;
import com.steel.yfmall.cloud.assistant.api.stock.ZgSendSmsAPI;
import com.steel.yfmall.cloud.assistant.bean.param.APIParamUserCompanyBean;
import com.steel.yfmall.cloud.assistant.bean.param.zg.APISmsBean;
import com.steel.yfmall.cloud.components.utils.base.APIMsgBean;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @program: ZgSendCompanyInfoController
 * @author: liuzhijun
 * @date: 2020-12-24 11:51
 **/
@RestController
public class ZgSendSmsController {

    @RequestMapping("/sendSms")
    APIMsgBean<String> sendSms(@RequestBody APISmsBean apiSmsBean) {
        return zgSendSmsAPI.sendSms(apiSmsBean);

    }

    @Resource
    private ZgSendSmsAPI zgSendSmsAPI;


}
